package com.base.core.context.utils.teams; /**
 * Created by cnw on 2021/3/25
 */

import lombok.Data;

import java.util.List;

/**
 * 
 * @author start
 *
 */
@Data
public class TeamsBO {

    private String type;

    private List<Attachments> attachments;

    @Data
    public static class Attachments{
        private String contentType;
        private Content content;
    }

    @Data
    public static class Content{
        String type;
        String version;
        List<Body> body;
    }

    @Data
    public static class Body{
        private String type;
        private String text;
        private String weight;
        private String size;
        private String color;
        private String url;
        private String altText;
        private boolean wrap;
        private List<Body> columns;  // For ColumnSet
        private List<Body> items;    // For Column
        private String width;
    }

}
